﻿using DapperCore.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace DapperCore
{
   public abstract class Takes<T>: Selector<T>
    { 
        public virtual Takes<T> Take(int PageSize)
        {
            //判断为空的情况下
            if (SetContext == null) SetContext = new SetContext();

            SetContext.PageSize = PageSize;
            return this;
        }
    }
}
